package com.qingke.oo.test;

import com.qingke.oo.itf.EnvStandard;

public class Gov {

	EnvStandard provider;
	
	public void setProvider(EnvStandard env){
		provider = env;
	}
	
	public static void main(String[] args) {
		
		Gov g1 = new Gov();
		g1.setProvider(new Person());
		g1.setProvider(new Company());
		g1.setProvider(new College());
		
	}

}
